﻿namespace BingoClientModel
{
	/// <summary>
	/// 枚举，每个请求的返回值的约定
	/// </summary>
	public enum EnumReqRetStatus
	{
		/// <summary>
		/// 成功
		/// </summary>
		Success = 0,

		/// <summary>
		/// 业务性失败 -- 验证失败
		/// </summary>
		Fail0 = 10,
		/// <summary>
		/// 业务性失败 -- 未登录或用户信息非法
		/// </summary>
		Fail1 = 11,
		/// <summary>
		/// 业务性失败 -- 其他各种业务
		/// </summary>
		Fail2 = 12,
		//...

		/// <summary>
		/// 程序错误 --
		/// </summary>
		Error0 = 20,
		Error1 = 21,
		Error2 = 22,
		//...

		/// <summary>
		/// 程序异常
		/// </summary>
		Exception0 = 100,
		Exception1 = 101,
		Exception2 = 102
	}
}
